  import wepy from 'wepy';
  export default class topBarMixin extends wepy.mixin {
    data = {
        isActive:false,
        isShowMore:false,

    }
    methods = {

    }
    onPageScroll(e) {
    	if(e.scrollTop > 150){
				this.isActive = true;
          // this.setData({isActive: true});
	    }else {
				this.isActive = false;
	        // this.setData({isActive: false});
	    }
    }

  }
